#!/bin/sh
modprobe ip_vs
echo 1 > /proc/sys/net/ipv4/ip_forward
sysctl net.ipv4.vs.conntrack=1
ipvsadm -A -t 192.168.188.253:8000 -s rr
ipvsadm -a -t 192.168.188.253:8000 -r [ceph3]:22 -m
iptables -t nat -A POSTROUTING -o ens33 -j MASQUERADE
